<?php 
class CommentsModel extends Model{
	public $table = 'comments';
/**
 * [add_data 添加评论]
 */
	public function add_data(){
		$this->add();
	}	

	public function get_data($where = null){
		return $this->where($where)->all();
	}
}

